package com.ruoyi.web.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class WasteVo implements Serializable {
    private Long id;
    @Excel(name = "处理单编码")
    private String wasteCode;
    @Excel(name = "处理日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date handleDate;
    @Excel(name = "处理单位")
    private String handleDept;
    @Excel(name = "废品名称")
    private String name;
    @Excel(name = "规格型号")
    private String specs;
    @Excel(name = "计量单位")
    private String unit;
    @Excel(name = "数量")
    private BigDecimal quantity;
    @Excel(name = "皮重")
    private BigDecimal weightTare;
    @Excel(name = "毛重")
    private BigDecimal weightGross;
    @Excel(name = "净重")
    private BigDecimal weightNet;
    @Excel(name = "金额")
    private BigDecimal amount;
    @Excel(name = "单价")
    private BigDecimal price;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /** 状态 */
    private Integer status;

    @TableField(exist = false)
    private BigDecimal sumAmount;
    @TableField(exist = false)
    private BigDecimal sumWeightTare;
    @TableField(exist = false)
    private BigDecimal sumWeightGross;
    @TableField(exist = false)
    private BigDecimal sumWeightNet;
    @TableField(exist = false)
    private BigDecimal sumPrice;
}
